Move TestUtils from resources to java