view class unit tests