I created both Cline and Nline testing scripts in Python, C# and Java as nobody wanted to share the source code of either their websites or softwares that test lines.
This way, with a bit of programming knowledge you can create your website or software that test c/nlines and be sure that nobody is stealing them. If you do so, please do it open source!
Feel free to use them as much as you want, the code is quite commented so you can understand what is going on the inside of the Newcamd and CCcam protocol ;)
https://github.com/gavazquez/CLineTester
and
https://github.com/gavazquez/NLineTester