update readme file and fixed test