Added partial optimality tests for partial optimality (especially iterative relaxed inference).
Added partial optimality test (especially for iterative relaxed
inference)