Fix AmazonResourceOwnerTest