Add core views tests