convert to using unittest and get tests working on 2.7