add unit test for switching between block and single files