fixed validator test for latest laravel release