Fix specs depending on relocator to work correctly on test env