Fixed test (maximize button added to DOM)

Change-Id: Id4319afc6eaef6f0afc65400d1208937c89fabbc