fix most of the style check issues in the test package