added current value param to input() method
added input value override test