[{"title":"POST \/api\/books with title => create book, expect book object: Test POST \/api\/books with title","data":{"title":"Title"},"passed":true},{"title":"POST \/api\/books with title => create book, expect book object: Test POST \/api\/books with no title given","data":{"title":""},"passed":true},{"title":"GET \/api\/books => array of books: Test GET \/api\/books","data":[],"passed":true},{"title":"GET \/api\/books\/[id] => book object with [id]: Test GET \/api\/books\/[id] with valid id in db","data":[],"passed":true},{"title":"GET \/api\/books\/[id] => book object with [id]: Test GET \/api\/books\/[id] with id not in db","data":[],"passed":true},{"title":"POST \/api\/books\/[id] => add comment, expect book object with id: Test POST \/api\/books\/[id] with comment","data":{"comment":"Comment"},"passed":true},{"title":"POST \/api\/books\/[id] => add comment, expect book object with id: Test POST \/api\/books\/[id] without comment field","data":[],"passed":true},{"title":"POST \/api\/books\/[id] => add comment, expect book object with id: Test POST \/api\/books\/[id] with comment, id not in db","data":{"comment":"Comment"},"passed":true},{"title":"DELETE \/api\/books\/[id] => delete book object id: Test DELETE \/api\/books\/[id] with valid id in db","data":[],"passed":true},{"title":"DELETE \/api\/books\/[id] => delete book object id: Test DELETE \/api\/books\/[id] with id not in db","data":[],"passed":true}]