abstract fs from unit tests