Add some short development notes, add simple tests and fix typo in readme

The tests are based on the usage description in the readme file and test each public API, while trying to assume as little as possible about the actual underlying, possibly changing data.