Adds tests for GetNonZeroBytes.