Add tests, some of which fail right now.