Fix for #326

- fixes issue #326 - adds isEnumerable and isNotEnumerable macros
- added required test cases
I think you mean `assert.isNotEnumerable` here