synchronous request with tests