Add code to test for allowable types in json rpc id field along with test code for the new function.