mocks input and adds tests for DefaultCharacterState