reduce unit tests