add test and view class