LPS-32414 Tests that use SocialActivity entities cannot be transactional, they should delete their data in tearDown method
LPS-32414 Format source: extract to a local variable the operations in Asserts to clarify the code
LPS-32414 This is not the expected search count, it's the actual search count! In any case, moved it into the method.