Fix ns conflict

Caused by a successive merge and missing tests in SQLWriter