View tests