Tests for input utils