test singleton bean