added test

console app to test logic