If the code moves to shared, the mocks should move to shared too. We'd like the unit tests to also move to shared but we have a limitation in our test runner for now (bug 841422).