Removing useless console.log
api firstPage mock
nock
Test case for #firstPage()
Implementing test