Fix AMD tests