FIX numerous (but not all) jasmine tests

actually, changing this broke a lot of unrelated stuff, so leaving it as is.