sql server publisher, with tests