Fixed testing script. Now understand testing better