Taking inputs as options and written unit test