Created a test method.