Add AMD tests (hacked on non-amd version).