tests: refactorings
- skip deletion related tests for the remote api
- small refactorings
- improve a bit the test_get_stream test
Migrated from D1272 (view on Phabricator)
Staging instance, all changes can be removed at any time
Migrated from D1272 (view on Phabricator)