tests for class and instance (with errors)
fix class name position