Increased test coverage for serialization
Updated documentation