perm_test added. test_ig removed.