restore amfx tests