* test: improve utils coverage * refactor: review - rename isDefined to isNonNullable, update tests and return statement