also test internal serialize