Add test for nextTick in domain-bound context; Fixes #4856