added model and controller test