Test with a viewclass