correct maxWidth property in unit test