remove max length adding tests