Removed unused methods from the test.