Add createMockCommand() method to base test class

Creates a mock OperationCommand with a mock Response set, containing
particular data.