Changed test to unittest

Change variable name for max keep-alive requests