updated to allow fog to catch error
added spec test for security group