Fixing java unit test

For some reason, the class path in the backtrace has changed.