Fixed unit tests
Use node-replay for unit tests
Simplify KnownApiUrl constants