Added test case for m2m custom hydrate call once.