Add test for introspection API.