Test pyflix and simulation using pytest. Fix running the sim in non-tty environment. Test presence of some essential files in the docs.