Chnged views() to views in tests and examples