Added a new ctor for Relation which takes in the byte array and creates the Relation

* Added a new test to check if the GetBytes() and creation of Relation from bytes work