making the ajax FS easier to test