Test refs sync