Fix failing tests due to location constants removal.