Fixed failing tests due to Maven test settings.