Ported tests to pure javascript.
Locked down dev dependencies.