added tests for .data() method