TDD implementation for Edit book operation