Even when fixing the version compare the line to test is not covered when I run phpunit, please see: 
![json_encode not run](https://dl.dropboxusercontent.com/u/13186339/liip/Screen%20Shot%202013-10-28%20at%2010.55.45.png)