testing editing sailsResource values