update test to be python 2.6 compatible

The assertEquals and NotEquals seem to be non-preferred and may be deprecated one day. I try to use assertNotEqual instead.

http://stackoverflow.com/questions/930995/assertequals-vs-assertequal-in-python