Use Realm.close() in unit tests

What do you mean with unused?
the test testCreateFile() is a testcase, and it calls the other method. right?