add test for link serialize specifically