fixed tests to reflect argument order of Validator constructor. fixed bug with using floats in validator