Make test count deterministic. The checks for the HTTP status code in the view compaction were causing the number of tests to be no deterministic.