Fixed unit test for inputmask