Fix mvn test with springLoaded