Transpile es6 cat code to es5 and write a smoke test