improved unit tests by using more specific asserts