added snap test case