use the inspect package to check if a test runner is a class