Refactor test image function
Refactor test image function

jni/microscopium,microscopium/microscopium,Don86/microscopium,Don86/microscopium,jni/microscopium,microscopium/microscopium,starcalibre/microscopium