Fix for tests in Chrome with jQuery 1.9

Proper usage of prop() instead of attr() in test.js