fixing test scripts closes #4