add NavCtrl unit testing.