Add test for sub resource with no id field