Clean up tests, add errors for amd/yui rewriters