add resume factory and nested attribute test