http testing fixes