Added test for removehostcollection for activationkey

Please review it
thanks
Move to the below try catch block, does not need two of them.