New api basic tests

function(err, res)