Added mock objects

Added a few mock classes to make unit testing more painless.