add api doc hooks to all tests