Added spec to cover the parsing of custom resources