Added test for fileextention with query params