Added singleton test to __init__.