fixes #4 support float values, fixes #29 tie support, fixes #30 easier testing