Moved the public nested classes from LikenessTests class into separate files.

Related to #106.