added directive test with HttpRequest