maintains scope test