we will probably need this test more often, so refactor