tried to fix failing tests. The bad file is not being passed to the constructor for some reason.