public function testIsValidForJson()
{
$nestable = new \Nestable\Services\NestableService();
$nested = $nestable->make($this->categories);
$this->assertTrue($nested->isValidForJson());
$nested = $nested->isValidForJson(true);
json_decode($nested);
$this->assertLessThan(1, json_last_error());
$this->assertTrue($nested != json_encode($this->categories));
}