Testing the php framework Laravel