Adding tests for HttpException namespace