Added unit tests for report toggling logic.