Refactoring of testuninitvar: Splitted large test functions into smaller pieces.