Extracted more constants in tests.
Changed new npm packages to specific versions.