Implement properties provided by `MockProgrammableBlock` as well as the ability to run the embedded program once (with optional parameters).