Fix source version in pom
Make tests compile again