Amend test for folder.js