patient model and controller test successfully