Move test data generator and integration test client into seperate files.