fix #586
added test case
added test to CMakeLists.txt
Merge remote-tracking branch 'devel/issue_586_polar_proj_broken_bad_param_setting'