fix maven tests