Adding tests for directive attributes