Use assert.equal to compare the message
Handle change of message test between sqlite 3.7.13 and 3.7.15