OLMIS-4944 Improve testing setup for period filter
OLMIS-4944 Improve testing setup for period filter

Based on code review feedback.

OpenLMIS/openlmis-ui-components,OpenLMIS/openlmis-ui-components,OpenLMIS/openlmis-ui-components