Added more test cases for the math part of the engine