add more tests to resource spec.