s4-dsdb: add unit tests for dirsync control