removed httpqueue and fixed stack trace in tests