Fixed a small bug in the deployment script.
Added a method I've been using on several projects to simplify mocking an IQueryable.

This commit corresponds to SpecsFor V3 final.