fix decimal use in tests for py26