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