add host directive unit test