Use commonjs htmlbars compiler and add test