Fix tests. Add control space and enter key in gallery page (Open modal gallery)