Changed a few things and added tests to check for negative number conversion.