updated tests now language has switched to JSON; removed explicit require 'JSON'