updated operator tests to test for decimal types
added a float to decimal function because in python 2.6 casting a float to a Decimal does not work