update first_book api test code