only run the sanity tests once if the user specifies 'sanity' as the override_code
fix the sanity_3 test so that it doesn't try to get the id of a component that it is complaining has no id