-1 to using testvars for the sdcard location. if you provide an override I think it should be on the command line. Also, not sure how using a temp directory introduces any problems with regards to simulating an sdcard.