test ajax call for getting text back