Adding test to use Guid instead of Id for deleting.

The $isGuid in the method signature is not used. This adds the test and corresponding lookup to fix it.
Couple of trailing white-space lines too.