Make small optimization in parser tests (#3072)
Make small optimization in parser tests (#3072)

* Make small optimization in parser tests

* Add Clear() for common command
Remove commands from AfterEach

* Refactoring test 'functions are resolved before cmdlets'

daxian-dbw/PowerShell,daxian-dbw/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,TravisEz13/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1,PaulHigin/PowerShell,daxian-dbw/PowerShell,PaulHigin/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1