mvn test is working with maven nature instead of eclipse controlled project.