made resource id_0 required and wrote tests for it