test: Domain.exit() only affects active domains

domain.create().exit() should not clear the domain stack
make Domain.exit() no-op for unused domains