Add file for unit tests of factor graph objects.