Added example, moved console app to test directory.