Testing Laravel 4 and API