add test to verify api is being copied in hash