Adds test cases for scope completion