added test for view
added view test
added view test