Fixed bug in inspector which caused the testmethods() method to fail.