api tests for convert.stx and convert.stxjs