Ensure consistent unit test count depending on build.