updated README
updated tests; fixed #6