Add sleep to the startServer() method

Im not sure this is the best solution for this but I had some issue where codeception was trying to run test before the server had actually started. Pausing within the startServer method for a period of time (currently 1 second) fixes this.