New test: Integer test.
Using C++ way.

- new instead of malloc.
- exceptions.