Fortran: extend enum tests