tests written for user-input , started mocking