HW4_5b added test cases for jsonrpc functions