Add view tests