Added boundary test for handle_ENTER, and changes made in handle_ENTER function to handle for empty user input