fix relational unit tests to use IOutcome

- converted unit tests to use IOutcome.
- fix messages in relational plugin