Test that mask length is a number