[aws_cpi] fixed failing test case