Added rudimentary capture tests

Need to expand these a bit to test things like Exif tags and thumbnails
are working for JPEGs, and to exercise the quality setting code