fixes survey regression and adds test for private study warning