mockScope tests added