[dev]start to add tdd for viewcontroller