Changed the scope test.