move Main.hx to test