Added max length test