Converted the test to the jQuery style guide