FIX : Changes to correct bugs in report_activity.rb tests