add unit test for the book rest service