Update test resource and eanble directory test