added view tests