singleton with the default test mode