p2: api test. test defined undef.

defined any fails stills (method not defined yet)