tests: Add C unittests for LrPackageTarget