refactored the tests to make its intention more clear