Test compilation was failing under maven 3