updated tests to work with revamped fs object