Test resource for main