Added a test for the Negative timeout error if the rpc is given a negative value for its timeout arg
This adds coverage to the waitfornewblock
rpc
you can check to see there is no coverage for this error by doing
grep -nri "Negative timeout" ./test/
and nothing shows up, you can also see by manually checking where we call waitfornewblock
in the functional tests