Add test that error is thrown when array parameter is missing in request

This is a separate PR with failing test for https://github.com/FriendsOfSymfony/FOSRestBundle/pull/910