test for query URL malformed with bad resource name combined with 'startsWith P'