Made tests run on open. Fixed YUI tests