Removed uneccesary anonymous function when doing simple function calls in conjuction with jQuery each
tests for Collapse open and close methods
tests for handleClick method