[RIOT] add riot support
[RIOT] port tests to riot