Adding artificial latency for testing async calls - need to implement deferred or promise from Q