fixed issues with display test