update tests and readme
Merge branch 'master' into gh-pages