Add Initial PHPUnit Tests
Fix problem with Incorrect number of lines being produced