Update default Python versions
Make extra_preamble a file instead of code
Add pytest config file