Problem with numtel:mysql query / db.escape()

Hi,
I’m pretty new to Meteor and I have a problem with a basic mysql query using numtel:mysql.
Even though the below versions should all return the same, only the third version actually returns elements. The same way of using db.escape works fine in other places. Not sure where the problem is here. Any thoughts?

Meteor.publish('elements', function() {
  var name = "test";
  return liveDb.select(
    'SELECT * FROM contents WHERE page LIKE ' + liveDb.db.escape('%' + name + '%'), [{
      table: 'contents'
    }]
  );
});



Meteor.publish('elements', function(name) {
  check(name, String);
  return liveDb.select(
    'SELECT * FROM contents WHERE page LIKE ' + liveDb.db.escape('%' + name + '%'), [{
      table: 'contents'
    }]
  );
});


Meteor.publish('elements', function() {
  return liveDb.select(
    'SELECT * FROM contents WHERE page LIKE ' + liveDb.db.escape('%' + "test" + '%'), [{
      table: 'contents'
    }]
  );
});