- fixes issue #326 - adds isEnumerable and isNotEnumerable macros
- added required test cases