To correct the code. Adding exception and writing tests for some of the methods and the module.