added a test for the scope