Fixed test setup.
Tests for console application. Relates to #11.
Merge pull request #23 from ezzatron/test-commands

Fixed test setup & added application test