Cosmetic fixes in unit tests

* Converted tabs to spaces as per new .editorconfig
* Removed empty lines
* Introduced implicit var typing
* Introduced using() in many instances

No substantial change made to any test, same list of failing/passing tests