update test documents
create changeExten function; other code cleanup
update README