Remove unused utility scripts and fix tests to test the used scripts.