[js] more fs tests enhancements