update readme and some fix for unittest