test: add survey code