added integration tests for books, added titles and books factory

Signed-off-by: Alex Izotov <martinandrudy@gmail.com>