tests,examples: remove unneeded headers, fix style
Merge pull request #1430 from LudwigOrtmann/test-cleaning

tests,examples: remove unneeded headers, fix style