Fixing moteProbe unit tests.