Add unit test for the CopyImage API.

The test case covers two scenarios:
    1. Where all the parameters are passed to the API call.
    2. Where the name parameter is skipped. As per the
    documentation, the name of the source AMI will be used in such a
    case.