fix views & controllers tests