remove all the self.fail() to avoid deadlock