fix add to collection template missing bug
add spec test for adding a book to collection