Get tests to pass again.

Revert slashes so tests will pass. Fix undefined.