test different singleton ipmplemetation for swift