Add tests for yon-elem (which revealed a bug!).