Fix test for Maven 2