Test if post-action hook works