updated test to reflect correct url passed