Refactor tests
A global variable now has higher priority than a local defined nil value