test(replica_test.go)

add tests for sccStack operations and resolveConflicts
refactor(instance.go) add i.SetExecuted() and i.Executed()

add setters and getters to avoid using i.executed directly