tests added for scope