View test mixin