fix(tests): avoid exception when tests do not create files