ls test
Returns undefined instead of an error when the request doc/attach does not exist
Makes use of q.done so assertion errors actually get thrown