starting to refactor resemblefn
sceneTest complexity externalized to a helper function