actual test code. Not pretty & lacking in internal documentation, but allows the test code to be a bit more readable.