Create test for data attributes handling