WIP: add test for Igor's use case (parsing headers into resource instance)