Added unit test for ec2 autoscale group detach_instances function