Fix unittests when running from maven