Singleton with test