Changed the scope and fixed the test.