sorted out database issue, but one controller test not passing