added tests configuration for maven projects.