spectro isolated scope + unit tests