Fix partially supplied query params
Test for partial params supplied