remove Levels.write_*
simplify output tests
test system output with prefix