readme; add a few tests