Fixed (most) tests with improper self.client definitions