fixing up test usage of views