Format
Added coverage node script
Added debug script
Improved test coverage