added tests for amd loader