Fix core simulation test: sort results to prevent random order du to process
bug fix: "is not" different of "!=" !
Test core simulation: Add test
add TODO