changed the test for invoking the parent and added a new test for specifying the class name
refactored and cleaned up and added class name support