Assert that images assigns specified query to url