Adding some more tests. Fixing the app to pass those tests. Update the README.