Last changes before sending.
Added final tests to the repository.

The code doesn't pass all tests.