Added test for passing parameters save resource to save