added synchronous test