adding mock object to test books controller