test scripts tweaked for the lib