Test functions

Depends on [PR-673](https://github.com/ooici/coi-services/pull/673)

Depends on [ion-defs 297](https://github.com/ooici/ion-definitions/pull/297)