Add dot notation output to test runner. General refactoring.