Add more test cases in completion/definition.py
Remove tests from regression.py