router/testing/race_test: fixed compiling error

Also adding calls to AddBackend and RemoveBackend