Add create resource test.