Most of the tests require the server to be up, so first run the server and then:
$ mvn clean install -Dtest=ClientServiceTest
$ mvn clean install -Dtest=SecurityTestCase
$ mvn clean install -Dtest=SecurityTestCase#testManInTheMiddleAttackGetStateOfGood
$ mvn clean install -DskipTests exec:java
$ mvn -DskipTests exec:java -Dexec.args="2"