Test Cookbook without adding into chef server

Is there a way to test a new cookbook (This has not been pinned into a role cookbook or on any environment files)
On one of the nodes , without adding it on to the chef-server. Is there some way to copy the cookbook to the node and run the cookbook using chef-client or something similar.

have you explore chef-client -z,–local-mode option.