Changed $.fn.attr() to $.fn.prop() in all tests

$.fn.attr() is deprecated in jQuery 1.9, so using $.fn.prop() instead