Added test method.