better test (include amd, and cleaner)