fixed test and add for resources
update with current_resource edit