shr in core with tests