to read main page from server in test