Update read me and test the sample code