updating tests for amd, adding amd wrappers