moved tests to mocha
moved test click() to fireEvent()