remove testcase of singleton
fix singleton template