test before publish