Improvements to the serialization tests

* Utilized the FluentAssertions library
* Changed visibility of the help classes to public to suppress nagging warnings
* Added Trait attribute for bug fix tests instead of a comment
* Lines of yaml is formed from multiple strings rather than splitting