Removed gradingpolicy from test_xbundle.py as it can cause failure due to reverse file order, and added tmp_dir