fix maven build failure when running test cases