DRY improvements in tests
added generic methods for attr() and prop() jQuery chains
fixes #11
fixes #12
test name and comments updated