Simplify obtaining core count;
Correct test cases