added constraint tests for http controllers.