Init tests for preferences and scores.
Needs testing function pick (prepare.js)
json2.js lib added from (https://github.com/douglascrockford/JSON-js/blob/master/json2.js)