now a test can be registered directly with a function call