Added test scripts using CasperJS