Fix command, add command to artisan and add test route.