file unit tests