Add tests for amd detection