2501: add unit tests for having_* manager methods
Merge remote-tracking branch 'origin/dev' into dev