trying to set up unit testing directive