Isolated unit test variables in struct