Starting writing test for exercise 1.20 -- opening and closing a file