Updated read me example, added few simple tests.