Switch to JUnit and Spock instead of TestNG

Also clean and fix SerializationTest
Allow Travis to fail build if Java 1.8 stops working