adds expect and jquery to tests/main-test.js, adds keyAndValues function