tests: rationalised demo files
tests: cleanup of code
tests: automatic cleanup of leftover files due to old failed tests