Adding Unit Tests.
Errors correction