added simple directive test