testing nested resources