Minor clean up in ELSpec + add tests for isUndefined()