Tests for enter key