Render view test with custom view