An ungrounded GFI receptacle will trip using the built-in "test" button, but will not trip using a GFI test plug, because the plug tests by passing a small current from line to the non-existent ground.