added pytest-cov and some model tests