Unit testing input fields