Unit tests to cover the added verification I added for issue #40