add tests for amd