test_model now has proper chdir set up