Updated example in README and added section about testing.