Added tests for RestParameter