Updated serializer unit tests.

* formatted serializer tests for nose
* made test more granular.