Integrate pytest