Add example and testcases