EBELP-74 add tests for middleware and country