added version specific test. The error does not show in python above 2.7 so test is sensitive to this now