Create a resource for test purpose.