Unit test for comments directive