Updated the test class