Add tests configuration to pom. Minor changes