Improved entities test and made the code pass all test cases
Improved test for multiple activate calls for entities
Improved System test cases
Made anax pass all test cases