Clean up test to appease NDEBUG builds.