Gravitational waves rippling from black hole merger could help test general relativity