adds first unit test for directive