tests: use astyle to adopt current code style guide
Merge pull request #567 from mehlis/tests-astyle

tests: use astyle to adopt current code style guide