Add assertion to test_multiple_register_with_fork