add the singleton test demo