Added more unit tests. Added compiler plugin with java version set