Updated Unit testing script and final changes to tutorial