add filePath constructor parameter, test utility methods to copy test resource directories to tmp