Fixing broken test due to maven dependency problem