#add book: [Joe & chenhaizhou] - add "destroyContext" function for test classes