how the tests work