Fix the black boxing xpcshell test
fix test_AsyncShutdown.js
Fix a scratchpad test