Add dynamic singleton test case