Fixed request regex indexes
Readded httptest.c