tests: Add a gjs-based test

This covers introspection, and in general is a much better way to get
API coverage tests.