Added test code to console app
Added project reference to unit test project