Bugfix: ValueHelpers value converter doesn't convert negative numbers

The function doesn't recognise negative integers and floats. Fixed
now. Also, a couple of tests were created in tmsadmintests for the
fix.