add test for Close
modify README