What I\'m try to obtain:
(I use an example to be more quick and clear)
// a function func which works with all following tests functio