wrote additional tests, mostly relating to spice error checking.