added more unit tests that verify exceptions are thrown for spent outputs