tests: Export the Symbols from the Offsets Tests

Like the other test programs, include config.h before anything and decorate
the lone symbols for export, and include $(top_srcdir)/tests so that
gitestmacros.h can be found and used.

https://bugzilla.gnome.org/show_bug.cgi?id=732669