Add test file, mostly borrowed from Cycles standalone package.