Fix endpoint tests to execute off the main queue to simulate a real server connection.
Fix endpoint tests to execute off the main queue to simulate a real server connection.

Bouke/HAP,Bouke/HAP,Bouke/HAP