Testing the AGN channel for black hole binary mergers