Added unit tests for all serializers
Fixed typo in exception message