Switch test assertions to use self.assertEquals