fix(contains): check if expression is a fucntion
test(contains): add fully tested input output