Infrastructure tests

Because depends on java7 or java8 the order of parameters changes