use new testing API.
reporter refactoring