Moves chai setup out of main.js into spec file