Added .attr and .prop with tests