Added test program for console since Qt interface isn't ready for testing yet