tests: Use separate gresources, include data & lib
Use a separate gresource file for the tests, rather than creating two variants of the .src.gresource. Also include the data gresource and the C library so we can test files that use (or transitively include) them.