add riot support
port tests to riot