public function test_to_array_include_root()
 {
     ActiveRecord\ArraySerializer::$include_root = true;
     $book = Book::find(1);
     $array = $book->to_array();
     $book_attributes = array('book' => $book->attributes());
     $this->assert_equals($book_attributes, $array);
 }