execute always post_test_hook function if it exists.