Best practices with example to write feature test in laravel