added callback logging for testing URL
made spec pass