added rake test task and requirement to 'json'