Functional test improvements

Nice to have constants for css classes
and also to have these grouped here

why not call it utils/file-explorer.js ?