Simplified the test
Fixed url generation and improved console logs