TEST: refactor resources conversion

Refactor resources conversion.
Add atom feed schema validation.