Added sleep time to the shut down test.
Made it interpret more content types as text to convert to String.