add tests for new style directive