test sigle view and nav view