Add BLOB test

Needs to be checked with MySQL before merge onto master.