Testing frontend.js click handlers