fixed clique_test.py to work with marginalize method