adding tests for error event on all sync methods