numerous tests and tweaks
updated README