Merge changes I670458bb,If660dad0 into integration

* changes:
  feat(lib/s2tt): add device memory tests
  fix(lib/s2tt): add missing assertions