modify serialized selector test

* add title
* rename a function