added a simple but useful Mock class