modifed image upload tests

@HeroicEric