Added notEqualTo method with test

This is an implementation of the feature requested by Issue #957