survey and test commands, transplanted from Chrysoberyl.