core, ccore: added tests for Ackermann's function