fixes directory mess with tests