added index action for books and tests to it