Added tests for directives
Added data- to attributes