Atomic functions  in BookController and Testing them in BookControllerTest