fix unit tests
move string replace for tracking action names to backend