Fix user controller test so no DB write required. Add id to user factory