listByActivity tests