Engine test suite & request headers

@dbeard Ready for review.