Added couple more tests, docs, comments.