Put common test paths into filesytem_common.js and change existing test cases.