Add test code for LineRecorderJsonParser

Now, more tests are needed, of course!
Improve testing code