testing controllers and testing views