testing post-hooks