unittest fix using a function, no __verision__ available