tests of getting a study and of trying to put an empty file