JHelperMediaTest::testCanUpload

Tests the canUpload method