Refactored TestMethods.