fix url mapping and tests

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>