Tests now work well in maven