more tests, validate length of id and type