Added book/author query and tests