Laravel Javascript::put test