adds tests for Request, fixes cs, makes private method protected