Updated travis-ci config so notifictions are sent out on failed builds
see https://phpunit.de/manual/current/en/test-doubles.html
Removed unused code
Merge pull request #86 from JoshuaEstes/UpdatedForTesting

Updated for testing