added test for must be of length