refactor test assertions to better reflect purpose of test