Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
We need to ensure that a zval IS_DOUBLE before we access it as such. In this case we apply common type juggling to do so.