I previously wrote a post on testing helpers in Laravel 5.4. Those setup steps can be added to any Laravel app to make testing easier and more effective.