Changed tests to not use self.assertRaises like a context manager (e.g. 'with self.assertRaises...') to enuser python 2.6 test compatibility. Added self.fail() to try expect statements for points that should be reached as an exception should occur.