Errors fixed in introspection

Fixed two errors in the test cases.