public function testIssue5()
{
$post = Post::create(['title' => 'My first post']);
$this->assertEquals('my-first-post', $post->slug);
$post->title = 'My first post rocks';
$post->slug = null;
$post->save();
$this->assertEquals('my-first-post-rocks', $post->slug);
$post->title = 'My first post';
$post->slug = null;
$post->save();
$this->assertEquals('my-first-post', $post->slug);
}