completely untested shim for Jasmine spies
move logic for `id` expression helper
update `throws` atom to match the `returns` atom