ERT-460: Added test for fortio_is_instance and fortio_safe_cast