Correct system module tests; add maths module tests.
Add io module tests; correct io module.
Add array module tests; correct system module tests.
Add external functions tests.