Runs the program and also runs the tests
added assertion messages