add new #to_html test for view class #171
DRY layout spec #171