use traits to identify views in tests