Changed argument to getIdFromConfigOrAuto() from sketchGroup to Sketch. Using sketchGroup was causing a "Can't find variable" error during tests.
Fixed random-failure problem in the Sketch unit tests.