Basic define domain test
Domain destroy and domains property
Event loop implementation