moved assertions into a new test method