Added unit tests for relation methods in the relation viewlet