test masked input