ERT-460: Added abort check test when sending in fortio type to gen_kw_ecl_write