test that we don't return prototype methods