Add sample test to library module