fixed remoteexception errors with test classes