add title tests to controller spec