fixed assert.fail() to pass proper arguments to AssertionError