Minor refactor.
Match given with expected test resource.