Move tests to a better place given recent refactoring of serialization.