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
Merge pull request #43 from roji/test_cosmetics

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