make test pass for all examples
move runtime behaviour test to seperate file