Testing survey logic