Add tests covering basic http concepts complete with a simple promise mock to help with the validation.