Test base Manager class
Remove __contains__ method on DatastreamsManager

It wasn't used and wasn't tested ergo it's probably not needed.
Add handling of resource from a dict