Add a Singleton Pattern and an unit test for it.