adding unit tests for activity log slices