Extended test to cover file not found exceptions