Fix distributor tests to use Library env