Fix logic issue in RestParameter
Added tests for RestParameter
Remove raw type warning
Merge pull request #604 from ArcBees/cv_rest_partam_logic

Fix logic issue in RestParameter