Yes, you should remove the initialization code for mGetTitleForTest etc from the constructor, as @wang16 pointed out.