testing 'post' hook