Fix unit tests

Fixes all the failing tests in `ApplyDeltaPackageTests` and `ApplyReleasesTests`.