Added input reading tests