Fix Rest to use the correct request  param
Add Rest tests and fix Request issues discovered during testing