Added `get-transaction` function
Added new `mock-request` macro to improve mock request readability
Fixed `get-transaction` to return `result` node

Was previously returning the entire response, which isn't that
helpful. Also now returns `nil` if the server returned an error code.