Added tests to input fields