Test fix

Test will now automatically be run with command mvn package. Also mvn
test.