testing laravel4 rest capabilities