Add tests suggested by Paul Oppenheimer (@peoppenheimer) in #8.