added tests for relations between simulation entities
implemented relations on simulation entities
refs #44