refs #883 used mocking for tests instead of raw test data from files