Correct potential error in execution of unit tests