Use Q.done rather than classical catch in tests