add exception spec. to two public functions (for SWIG)
added test_guess.py