swapped open and putting back backup when running tests