directive fun and test