fixed checkout_resource test