Refactored tests and method. Moved the test class to appropriate package to make the default fields visible.