added test for decimal validator, fixed decimal not valid for string '1.0'