added beginning of test for directive