Fix tests and move from cancan to cancancan.