Separated tests that make http connections to external services from other tests (marked with @Category(OnlineTest.class). These tests will not be run on mvn test, but will be run on mvn install (considered integration tests).
Using maven-failsafe-plugin for this.
Upgraded junit to 4.11 too.