change test to work with python2.5 and 2.6 report correct exception message
change test to work with python2.5 and 2.6 report correct exception message

jaredly/pyjamas,jaredly/pyjamas,jaredly/pyjamas,jaredly/pyjamas