tests added for fsController.js