removed console logs from service functions on error. Added some tests around add page service function