use Java 8 on Heroku
added basic tests around endpoints