Rewritten test example, updated README.