added blob.h to query backend and some unit tests