Revert "Revert "test file in Python""

This reverts commit 94bcd6b5d91d98e3c43255afa73d555208491f93.