Retain only IAM roles of currently deployed aliases.
Make sure that only fresh data is used in unit tests. Required data must be cloned, as otherwise the cached version is modified by the tests and reloaded on subsequent ones.
Coverage increased (+0.5%) to 54.536% when pulling 62d1c9e3d9342a97cec22a614490da9479b34343 on fix-superfluous-iam-roles into 899bb0ba59532f2b4563e6ca51f8ad18b4a7f3d7 on master.
Fixes #50
Retain only IAM roles of currently deployed aliases. Make sure that only fresh data is used in unit tests. Required data must be cloned, as otherwise the cached version is modified by the tests and reloaded on subsequent ones.