Basic spec tests to verify resource declarations. For #2