add ec2 tests

Change-Id: Iced3eb8ca81c3b067496c3683f322b6e1dedec2a
Merge branch 'release-0.3.1' into dt-test
Merge branch 'identity-ec2-tests' into dt-test