add test for serialize

see https://github.com/madrobby/zepto/pull/1016