Added anti-pattern example test for Singleton