Sys stdout for check and list

Added a few basic tests on the ``list_jsdbindex`` and ``check_jsdbindex`` command outputs.

closes #5