add test cases for freechain.