Added monitoring to the rest resource.
Added convenience parameters to the test client.