fix loading inline packages in tests