fixed StyleCop warnings for unit tests