update tests and test scripts