Tests fixed for new allowed_to_upload helper method