Added convenience test method.