updating example file and test cases