add survey entity with unit test