convert more tests
fix test_handleSyncError to reset error account so it passes when run twice