added test flag to enable integration test using aetest.
http test helper added.