Testing general relativity using golden black-hole binaries