Allow PDF uploads in image upload

@jrbl & @stvstnfrd - Changes to allow PDF uploads using image upload feature.
It's unclear to me how this test verifies that PDF uploads are supported.