Ensure serve is passed correct parameters