I have written some tests, but I didn't cover all the cases, which I why I didn't add them.  Will cover 'em.