added a test case to demo the basic usage