Added a test method.