Added test for the snippet chapter.