add unit tests for fsWrapper
make other unit tests no longer depend on fsWrapper