added a test for #142

With code taken from SO:
http://stackoverflow.com/questions/7770465/testing-jquery-hover-with-jasmine