Const correctness in Test class