adds specs for HttpGenerator class