Added the custom grpowned? method and tests.