updated read me and some tests