Added some class stubs that can be used with the tests.
We can now test workers using stubs.