add pytest and pytest-cov to requirements.txt
add tests directory