fix views tests