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 data can be removed at all time
Migrated from D1272 (view on Phabricator)