Resource spec validation test