modify readme & fixed some bugs, add the test too