JPTest: Cleaning up and debugging client end

NOTE: Line endings have to be reformatted if running on Windows! Bad
design…need to go back and redo.