Major (Solution) : added pattern Singleton and unit tests for him