finished changing test code to use asserts