Added tests about opening missing files