StyleCop refactoring of test classes.