Add initial tests.
Update README.