Fixed an error in the testing - testing for the wrong thing in the testExpand(self)