Introduce AlloKit and fix failing tests on Java 6