first try of a test
testcases emulator.OverrideTestCase, with some minor bugfixes to make
test work as expected ...