Use statements wrapper in \OCP\IDB
Fix tags unit test