Add doctest and documentation to verify_gp()

Add a doctest for the function verify_gb() and add also some documentation.