updated README and added stest cases