added test for cleanParams and create of issue API