Generalize test and update support for laravel 4.1