Add a unit test for acquireImage exception case.

This tests that JFreeSane correctly handles "expected" exceptions, such as
STATUS_NO_DOCS (out of paper).