updated tests to ignore stdout
code cleanup
added wrapper func for subprocess calls
code cleanup
code cleanup
replaced check_output calls with ones to wrapper
resolved issue #20 and update calls to use wrapper check_output